class A:
    name="A"
    def __init__(self):
        self.name="obj"
a=A()
print('A.name:',A.name)
print('a.name:',a.name)



class D:
    pass

class C(D):
    pass

class B(D):
    pass

class A(B,C):
    pass
print(A.__mro__)


class D:
    pass

class E:
    pass

class C(E):
    pass

class B(D):
    pass

class A(B,C):
    pass
print(A.__mro__)












